-
-
Notifications
You must be signed in to change notification settings - Fork 237
Fix erroneous URL encoding of final output filenames #1446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @AlexTate for this PR. Can you add a test to demonstrate the problem and the fix?
Codecov Report
@@ Coverage Diff @@
## main #1446 +/- ##
==========================================
+ Coverage 65.77% 65.80% +0.02%
==========================================
Files 91 91
Lines 16054 16050 -4
Branches 4059 4055 -4
==========================================
+ Hits 10560 10562 +2
+ Misses 4359 4355 -4
+ Partials 1135 1133 -2
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also run make format :-)
|
@mr-c I've added the changes you requested. Please let me know if there are any issues with the approach I've taken with my unit test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/common-workflow-language/cwltool/pull/1446/files shows a couple lines without test coverage; can you investigate?
|
Of course. I can address both of these requests but it will be a little over a week before I have a chance to take a look. |
…ly, it corrects the erroneous URL encoding of output file basenames and nameroots when collecting final outputs.
…map(). The changes in collect_output() are formatting only. Unit test for collect_output() are complete
Fixes #1445; command_line_tool.collect_output() now URL decodes output file
basenames, and uses the decoded result to determine thenamerootandnameextfields